package com.zhangtai.modules.entity.certificate;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

		import java.math.BigDecimal;
	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-11-10 09:21:29
 */
@Data
@TableName("tb_certificate")
public class CertificateEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)

			private Long id;
			/**
		 * 
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;
			/**
		 * 
		 */
			@ApiModelProperty("申请人工号")
			private String applierCode;
			/**
		 * 
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			@ApiModelProperty("甲方主体id")
			private Long companyId;
			/**
		 * 
		 */
			@ApiModelProperty("甲方主体名称")
			private String company;
			/**
		 * 
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			@ApiModelProperty("模板id")
			private Long modelId;
			/**
		 * 
		 */
			@ApiModelProperty("模板类型")
			private String modelName;
			/**
		 * 
		 */
			@ApiModelProperty("月薪")
			private BigDecimal salary;
			/**
		 * 
		 */
			@ApiModelProperty("工作地址")
			private String workAddress;
			/**
		 * 
		 */
			@ApiModelProperty("HR联系方式")
			private String hrContract;
			/**
		 * 
		 */
			@ApiModelProperty("HR名称")
			private String hrName;
			/**
		 * 
		 */
			@ApiModelProperty("bpm链接")
			private String bpmUrl;
			/**
		 * 
		 */
			@ApiModelProperty("审批状态 0：未发起 1审批中 2：审批通过")
			private String status;
			/**
		 * 
		 */
			private Integer isDelete;
	@ApiModelProperty("工号")
			private String code;


	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
			private Long unitId;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long orgId;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
			private Long jobId;
	@ApiModelProperty("创建时间")
			private Date createTime;

	private String position;

	private String name;
	@ApiModelProperty("e签宝地址")
	private String contractEsignUrl;
	@ApiModelProperty("阿里云地址")
	private String contractOssUrl;

	private Integer isSend;

	private Integer flowId;

	private Integer callbackStatus;
}
